home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / utilities / gmdev300.lha / Debug / CyberGuard.doc < prev    next >
Encoding:
Text File  |  1992-10-17  |  2.8 KB  |  94 lines

  1.  
  2.  
  3.                            CyberGuard V1.04
  4.                        by Ch.Schneider, F.Bürgel
  5.  
  6.  
  7. COPYRIGHT NOTICES
  8.  
  9. This program is copyright 1992 by Ch.Schneider, and is freely
  10. distributable!
  11.  
  12. DISCLAIMER
  13.  
  14. CyberGuard works from CLI or Workbench.  No warranties! Use it at your
  15. own risk! It should work on all Amigas having either a 68551 or a 68030
  16. MMU with Kickstart 1.2 or later...
  17.  
  18. WHAT IT DOES
  19.  
  20. Installs emulation of Virtual Memory of a specific size and checks the
  21. usage of this memory.
  22.  
  23. Improper usage of the virtual memory space is reported in the form
  24.  
  25. Software Error:
  26. Task '<name>' (0x<task struct adr>)
  27. PC: 0x<program counter> accessing 0x<memory address>
  28. Error: <error description>
  29.  
  30.  
  31. The error description may be one of the following:
  32.  
  33. Description: Address beyond virtual memory accessed.
  34. Probable cause: Accessed an address outside the allowed memory.
  35. Recovering: Check your pointers, perhaps you reused a freed memory chunk
  36.  
  37. Description: Task is not owner of virtual memory.
  38. Probable cause: You used virtual memory for I/O or for message passing.
  39. Recovering: Do buffered I/O and set MEMF_PUBLIC for messages and ports
  40.  
  41. Description: Page fault while Disable().
  42. Probable cause: You accessed virtual memory within Disable()
  43. Recovering: Check the necessity of Disable() and use MEMF_PUBLIC for
  44. memory used within Disable()
  45.  
  46. Description: Page fault while Forbid().
  47. Probable cause: You accessed virtual memory within Forbid()
  48. Recovering: Check the necessity of Forbid() and use MEMF_PUBLIC for
  49. memory used within Forbid()
  50.  
  51. Description: Page fault from Supervisor mode.
  52. Probable cause: You used virtual memory from supervisor mode or put
  53. program code into virtual memory.
  54. Recovering: use MEMF_PUBLIC when you need supervisor mode or copy
  55. program code.
  56.  
  57. Description: Page fault from interrupt. Need to reboot.
  58. Probable cause: An intserver struct of the associated code/data was
  59. placed into virtual memory.
  60. Recovering: Set MEMF_PUBLIC for memory used in conjunction with
  61. interrupts.
  62.  
  63.  
  64. HOW TO HANDLE
  65.  
  66. All parameters to CyberGuard are optional.
  67.  
  68. Usage:    CyberGuard [-alq] [KEYWORDS]
  69.  
  70. 'name' specifies which task is may use Virtual Memory.
  71.  
  72. Keywords:
  73.  
  74. BUFFERSIZE=BS <number>    : Specify size of buffer memory in bytes
  75. MEMPRI=MP <number>    : 'number' = 0 -> No Virtual Memory for this prg
  76.               'number' = 1 -> Physical memory has priority
  77.               'number' = 2 -> Virtual memory has priority
  78.               'number' = 3 -> Only virtual memory is given
  79.               to this program.
  80. NICEDEVICE=ND <device>    : Do not to check mask for this device!
  81. SETTINGS=ST <filename>    : Preferences file
  82. VIRTUALSIZE=VS <number>    : Specify size of virtual memory in bytes
  83.  
  84.  
  85. Options:
  86.  
  87. -a    Avail        ; Show available memory
  88. -l    Library        : Add library to system/update library settings!
  89. -q    Quit        : Removes CyberGuard from memory
  90.  
  91. Once CyberGuard is installed, you may use CyberGuard without parameters
  92. to display the current status of CyberGuard.
  93.  
  94.